<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
  <body>
    <div th:fragment="home">
      <template id="home">
        <div>
          <el-container>
            <el-header id="home_body_app_elContainer_elHeader">Header</el-header>
            <el-container>
              <el-aside width="230px">
                <el-menu :default-active="$route.path" router background-color="#d3dce6" >
                  <el-submenu index="1">
                    <template slot="title">
                      <i class="el-icon-location"></i>
                      <span>系统管理</span>
                    </template>
                    <el-menu-item :index="userIndex">用户管理</el-menu-item>
                    <el-menu-item :index="roleIndex">角色控制</el-menu-item>
                    <el-menu-item :index="permissionIndex">权限赋权</el-menu-item>
                  </el-submenu>
                  <el-submenu index="2">
                    <template slot="title">
                      <i class="el-icon-location"></i>
                      <span>平台管理</span>
                    </template>
                  </el-submenu>
                </el-menu>
              </el-aside>
              <el-main>
                <router-view></router-view>
              </el-main>
            </el-container>
          </el-container>
        </div>
      </template>
      <script th:src="@{/this/js/base/home.js}"></script>
      <link rel="stylesheet" th:href="@{/this/css/home.css}"/>
    </div>
  </body>
</html>